echo
call keytool -genkey -keystore serverStore.jks -storepass keystorePass -dname "cn= serverStore" -alias serverAlias -keyalg RSA -keysize 1024 -validity 730 -keypass keystorePass
call keytool -genkey -keystore clientStore.jks -storepass keystorePass -dname "cn= client-344-839" -alias client-344-839 -keyalg RSA -keysize 1024 -validity 730 -keypass keystorePass
call keytool -export -keystore serverStore.jks -storepass keystorePass -alias serverAlias -file server.cert
call keytool -export -keystore clientStore.jks -storepass keystorePass -alias client-344-839 -file client.cert
call keytool -import -alias client-344-839 -file client.cert -keystore serverStore.jks -storepass keystorePass
call keytool -import -alias serverStore -file server.cert -keystore clientStore.jks -storepass keystorePass
pause
